﻿using System;

using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace PFD
{
    public partial class SplashScreen : Form
    {
        string[] ProgressTextTable;
        public SplashScreen()
        {
            InitializeComponent();
        }

        public void setProgressRange(int min, int max, string[] defTextTable)
        {
            ProgressTextTable = defTextTable;
            progressBar.Minimum = min;
            progressBar.Maximum = max;
            progressBar.Value = 0;

//            statusText.Text = defTextTable[0];
            Invalidate();
            Update();
        }

        public void nextStep()
        {
            progressBar.Value++;
//            statusText.Text = ProgressTextTable[progressBar.Value];
            Invalidate();
            Update();
        }


    }
}